import { ecs } from "db://oops-framework/libs/ecs/ECS";
import { Initialize } from "../../initialize/Initialize";
import { Account } from "../../account/Account";
import { Scene } from "../../battle/scene/Scene";
import { PlayerInfo } from "../../../gui/menu/playerInfo/PlayerInfo";
import { Book } from "../../../gui/book/Book";

/** 游戏单例模块 */
@ecs.register('SingletonModule')
export class SingletonModuleComp extends ecs.Comp {
    /** 游戏初始化模块 */
    initialize: Initialize = null!;
    /** 账号模块 */
    account: Account = null!;
    /** 游戏地图 */
    scene: Scene = null!;
    /** 图鉴 */
    book: Book = null!;
    /** 个人信息 */
    playerInfo: PlayerInfo = null!;
    reset(): void {
    }

}
export var smc: SingletonModuleComp = ecs.getSingleton(SingletonModuleComp);
window["smc"] = smc;